<template>
  <div class="posterWrapper">
    <swiper :options="swiperOption" ref="mySwiper">
      <swiper-slide>
        <div class="swiper-div">
          <img src="../../../../../static/static/addImg/register/registerPoster.png" alt="">
        </div>
      </swiper-slide>
      <swiper-slide>
        <div class="swiper-div">
          <img src="../../../../../static/static/addImg/register/registerPoster.png" alt="">
        </div>
      </swiper-slide>
      <swiper-slide>
        <div class="swiper-div">
          <img src="../../../../../static/static/addImg/register/registerPoster.png" alt="">
        </div>
      </swiper-slide>
      <div class="swiper-pagination"  slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
// import 'swiper/dist/css/swiper.css'
import { swiper, swiperSlide } from 'vue-awesome-swiper'
export default {
  name: 'posterBanner',
  components: {
    swiper,
    swiperSlide
  },
  data () {
    return {
      swiperOption: { // 轮播图
        pagination: '.swiper-pagination',
        loop: true,
        autoplay: 10000,
        observer: true,
        observeParents: true,
        paginationClickable: true // 点击小圆点
      }
    }
  }
}
</script>

